System and method of accessing and transmitting different data frames in a digial transmission network

ABSTRACT

A system accessing and transmitting different data frames in a digital transmission network, said system comprises at least a subscriber network interface designed to couple with the subscribers&#39; networks and/or at least an inter-network interface designed to couple with said digital transmission network to transfer data, a data converting device coupled with said subscriber network interfaces and said inter-network interfaces to convert formats of data between said subscriber network interfaces, formats of data between said inter-network interfaces, or formats of data between said inter-network interfaces and said subscriber network interfaces; wherein said data converting device comprises a virtual bridge device and their interface devices, said virtual bridge devices exchange data between said subscriber network interfaces and said inter-network interfaces via said interface devices; wherein said virtual bridge device is designed to detect control messages and transfer the detected control messages to the control system of them via the control interfaces; said virtual bridge device performs switching operation to other messages except for the control messages, in order to overcome restriction on Ethernet data frame address space.

FIELD OF THE INVENTION

[0001] The present invention relates to a system and method of accessing and transmitting data frames, in particular to a system and method of accessing and transmitting different data frames in a digital transmission network.

BACKGROUND OF THE INVENTION

[0002] Because Ethernet technology is featured with low price and high expansibility, etc., it has evolved from a mainstream LAN technology to a primary data service access technology and is widely used in Metropolitan Area Network (MAN) by more and more telecom operators. Providing Ethernet data services has becoming a trend for telecom operators. Ethernet data services can be classified into two types: Ethernet private line services and Virtual Local Area Network (VLAN) services.

[0003] For convenience, the phrases and abbreviations in the following description have the following meanings: MPLS—Multi-protocol Label Switching; GFP—General Frame Positioning; VLAN—virtual Local Area Network; VMAN—virtual Metropolitan Area Network; RPR—Resilient Packet Ring.

[0004] Currently, most of the telecom operators' data transmission networks are SDH/SONET networks. Therefore, it is a highlight for telecom operators and telecom equipment manufacturers to access and transfer Ethernet data frames effectively in a SDH/SONET network to meet the increasing demand for Ethernet data services. At present, several telecom equipment manufacturers have provided the devices to access and transfer Ethernet data frames in a SDH/SONET network, and those devices may be classified into 3 types according to the implementation approach of functionality:

[0005] (1) Data mapping/demapping scheme;

[0006] (2) Bridge scheme;

[0007] (3) RPR scheme.

[0008]FIG. 1 shows a block diagram of device according to the data mapping/demapping scheme in the first prior art. The device comprises one or more subscriber network interfaces 20 (standard Ethernet interfaces), one or more inter-network interfaces 30 (synchronous digital transmission channels), one or more mapping/demapping devices 101, 102, . . . , each of which corresponds to a unique subscriber network interface and a unique inter-network interface. Wherein, the data frames entering the device via subscriber network interface 20 and data frames output from the device comply with Ethernet data standard; data frames entering the device vian inter-network interface 30 and data frame output from the device comply with synchronous digital transmission network standard.

[0009] Wherein the mapping/demapping device 10 maps Ethernet data frames entering the device via subscriber network interface 20 to become synchronous digital data frames, and outputs the mapped data frames vian inter-network interface 30; the mapping/demapping device 10 demaps the synchronous digital data entering the device vian inter-network interface to Ethernet data frames, and outputs the data frames via the subscriber network interface. However, the functionality of the device is simple, thus it can only provide Ethernet private line services.

[0010]FIG. 2A shows a block diagram of the device utilizing bridge scheme in the second prior art. The device comprises one or more subscriber network interfaces 20 (standard Ethernet interfaces), each of which corresponds to a unique bridge port. The device further comprises one or more inter-network interfaces 30 (synchronous digital transmission channels). The device further comprises a bridge device 400 (described in detail in IEEE802.1D and IEEE802.1Q), wherein the bridge device 400 comprises a plurality of bridge ports, each of which corresponds to a unique subscriber network interface or a unique mapping/demapping device. Each mapping/demapping device corresponds to a unique bridge port and a unique inter-network interface. Wherein, the data frames entering the device via subscriber network interface 20 and the data frames output from the device comply with Ethernet data standard; data frames entering the device from inter-network interface 30 and data frame output from the device comply with the standard of synchronous digital transmission network.

[0011] Data frames entering the device via subscriber network interface 20 enter the bridge device 400 via the bridge port corresponding to the subscriber network interface; the bridge device 400 calculates the bridge output port according to the address information in the data frames and sends the data frames to the corresponding mapping/demapping device 102 (the mapping/demapping device maps the data frames and then outputs them to the inter-network interface) via the output port, and vice versa.

[0012] In the bridge scheme, usually the operator is allowed to map partial or all subscriber network interfaces to mapping/demapping devices in a one to one way through configuration. In this case, the device employs both of above technical schemes, so it is called an enhanced bridge scheme. The functional model of an enhanced bridge device is shown in FIG. 2B.

[0013] The disadvantage of the second prior art is:

[0014] (1) It is unable to provide integral VLAN service. If a plurality of subscribers are attached to the device via subscriber network interfaces and there are conflicts among address spaces of Ethernet data frames of those subscribers, the device is unable to isolate the conflicts effectively, thus it is unable to provide services correctly to those subscribers.

[0015] (2) A common bridge (non-enhanced bridge) is unable to provide Ethernet private line service.

[0016] (3) A subscriber network interface can only support one service type (Ethernet private line service or VLAN service), which limits the access capability of the device. In some cases, though the processing capacity of the device is still sufficient enough, new devices have to be added to improve access capacity because the subscriber network interfaces have been used up.

[0017] (4) An inter-network interface can only support one service type (Ethernet private line service or VLAN service), which leads to low convergence capability of the device. In some cases, in a star topology network, though the processing capacity of the device is still sufficient enough, new devices have to be added to improve convergence capacity because the inter-network interfaces have been used up. For operators, it means not only new investment but also bandwidth waste.

[0018]FIG. 3 shows a block diagram of the device utilizing RPR scheme in the third prior art. The device comprises one or more subscriber network interfaces (standard Ethernet subscriber network interfaces), two inter-network interfaces (synchronous digital transmission channels), and a RPR device 600 (described in IEEE802.17), two mapping/demapping devices, and a data processing device 500 which may be a data converging/deconverging device or a bridge device).

[0019] Wherein the data frames entering the device via the subscriber network interface 20 are processed as follows:

[0020] Step 1: the data processing device 500 processes the data frames (the data frames are converged if the data processing device is a data converging/deconverging device; the data frames are switched if the data processing device is a bridge device); Step 2: the data processing device 500 transfers the processed data frames to the RPR device 600;

[0021] Step 3: the RPR device 600 sends the data frames to the corresponding mapping/demapping device according to the address information in the data frames; Step 4: the mapping/demapping device maps performs mapping operation for the data frames and sends them to outside of the device via the corresponding inter-network interface.

[0022] The data frames entering the device via the inter-network interface are processed as follows: Step 1: the mapping/demapping device performs demapping operation for the data frames and transfers the demapped data frames to the RPR device 600;

[0023] Step 2: the RPR device 600 processes the data frames and then sends them to the data processing device;

[0024] Step 3: the data processing device 500 processes the data frames (the data frames are deconverged if the data processing device is a data converging/deconverging device; the data frames are switched if the data processing device is a bridge device);

[0025] Step 4: the data processing device 500 finds corresponding subscriber network interface according to the address information in the data frames and then outputs the data frames via the subscriber network interface.

[0026] The disadvantages-of said scheme are:

[0027] (1) It is unable to provide Ethernet private line service and VLAN service at the same time. If the data processing device is a bridge device, it doesn't support Ethernet private line service; if the data processing device is a data converging/deconverging device, it doesn't support VLAN service.

[0028] (2) It can only be used in a ring topology network.

SUMMARY OF THE PRESENT INVENTION

[0029] An object of the present invention is to provide a virtual bridge device in SDH/SONET network and the method of accessing and transmitting data frames in a SDH/SONET network thereof, in order to improve the converging ability.

[0030] According to one aspect of the present invention, it is provided a system accessing and transmitting different data frames in a digital transmission network for accessing and transmitting different data frames, said system comprises:

[0031] At least a subscriber network interface, which is used to couple with the subscriber's network; and/or at least an inter-network interface, which is used to couple with said digital transmission network to transfer data; and

[0032] a data converting device, which is coupled with said subscriber network interfaces and said inter-network interfaces to convert data formats between said subscriber network interfaces, data formats between said inter-network interfaces, or data formats between said inter-network interfaces and said subscriber network interfaces;

[0033] Wherein said data converting device comprises a virtual private device, an interface device and a processing device. Said virtual private device exchanges data between said subscriber network interfaces and said inter-network interfaces via said interface device. Wherein said virtual private device comprises an inter-device interface, which couples with said processing device and is used to input and output data frames; a virtual private processing unit, which couples with said inter-device interface and is used to converge or deconverge the data frames and detect control messages; a rule database, which couples with said virtual private processing unit, said rule database stores rules corresponding to various data, couples with said virtual interface processing unit to process the data according to said rules; a control interface unit, which couples with said rule database and said virtual private processing unit and is used to control said virtual private processing unit and said rule database.

[0034] Optionally, said rule database stores convergence rule and deconvergence rule.

[0035] Preferably, said rule database stores relay rules.

[0036] Optionally, one data type corresponds to one rule, rule database comprises the following rules: input data frame type number, rule type (one of convergence, deconvergence and relay rules), label number and output data frame type number.

[0037] Preferably, formats of the control messages and the logic processing said data frames are stored in said virtual private processing unit; and formats of rules are stored in said rule database.

[0038] Optionally, said control interface unit provides an external control interface, through which to inspect the operation of the virtual processing unit, and add, delete, modify, and search operation can be performed to rules in said rule databases.

[0039] Preferably, said interface device is a virtual interface device, said processing device is a data processing and dispatching device, said inter-device interface connects with said data processing and dispatching device or said virtual interface device.

[0040] The present invention also provides a method of accessing and transmitting different data frames in a digital transmission network through said virtual private device; said system comprises virtual bridge devices, said method comprises the following steps:

[0041] Data frames entering said virtual private device via an inter-device interface;

[0042] determining whether the data frames are control messages;

[0043] If yes, sending the data frames to external control system via the control interface unit and end the process; If not, extracting input data type number information and search in the rule database according to said input data type number;

[0044] Determining whether type number information is found;

[0045] If not, discard said data frames and end the process;

[0046] If yes, process the data according to the rule type;

[0047] Modify the data frames, and send them through the inter-device interface and end the process.

[0048] Optionally, the step of processing the data according to the rule type comprises the following steps:

[0049] Determine the rule type,

[0050] If it is convergence rule, insert the label number defined in the rule in the special position of the data frames;

[0051] If it is deconvergence rule, remove the label number in the special position of the data frames;

[0052] If it is relay rule, change the label number in the special position of the data frames into a label number defined in the rule.

[0053] Preferably, the step of modifying the data frames comprises the step of replacing the data frame type number in the head position of the data frames with the output data frame type number defined in the rule.

[0054] The system and method according to the present invention have the following advantages:

[0055] (1) a plurality of convergence rules, deconvergence rules and relay rules are stored in the virtual private device (relay rules are optional, i.e., relay rules are not used in some simple virtual private devices). One data type corresponds to one rule. Rules in the virtual private devices can be set up and deleted dynamically. Data frames of different subscribers can be isolated, transmitted and shared by adding a label before sending, changing the label during transmission and removing the label at destination address.

[0056] (2) according to the system and method of the present invention, both VLAN service and Ethernet data private service can be achieved at a device interface (a subscriber network interface or an inter-network interface). And data frames of many subscribers can be accessed and converged at a device interface, thus the accessing and converging abilities of the device are improved greatly.

BRIEF DESCRIPTION OF THE DRAWINGS

[0057]FIG. 1 shows the block diagram of the data mapping/demapping scheme according to the first prior art;

[0058]FIG. 2A shows the block diagram of the bridge scheme according to the second prior art;

[0059]FIG. 2B shows the block diagram of the enhanced bridge scheme according to the second prior art;

[0060]FIG. 3 shows the block diagram of RPR scheme according to the third prior art;

[0061]FIG. 4 shows the schematic diagram of a preferred embodiment of the system accessing and transmitting Ethernet data frames in a SDH/SONET network according to the present invention;

[0062]FIG. 4 (F) shows the data processing flowchart of a preferred embodiment of the system accessing and transmitting Ethernet data frames in a SDH/SONET network;

[0063]FIG. 4A shows the schematic block diagram of virtual interface device in a preferred embodiment of the system accessing and transmitting Ethernet data frames in a SDH/SONET network according to the present invention;

[0064]FIG. 4A (F1) shows the flowchart of the virtual interface device processing the data entering from the interface of processing device in a preferred embodiment of the system accessing and transmitting Ethernet data frames in a SDH/SONET network according to the present invention;

[0065]FIG. 4A (F2) shows the flowchart of the virtual interface device processing the data entering from the inter-device interface in a preferred embodiment of the system accessing and transmitting Ethernet data frames in a SDH/SONET network according to the present invention;

[0066]FIG. 5 shows the schematic block diagram of the virtual private device in a preferred embodiment of the system accessing and transmitting Ethernet data frames in a SDH/SONET network according to the present invention;

[0067]FIG. 5 (F) shows the flowchart of the virtual private device processing the data entering from the inter-device interface in a preferred embodiment of the system accessing and transmitting Ethernet data frames in a SDH/SONET network according to the present invention;

[0068]FIG. 6 shows the schematic block diagram of the virtual bridge device in a preferred embodiment of the system accessing and transmitting Ethernet data frames in a SDH/SONET network according to the present invention;

[0069]FIG. 6 (F1) shows the flowchart of the virtual bridge device processing the data entering from the inter-device interface in a preferred embodiment of the system accessing and transmitting Ethernet data frames in a SDH/SONET network according to the present invention;

[0070]FIG. 7 shows the schematic block diagram of the data processing and dispatching device in a preferred embodiment of the system accessing and transmitting Ethernet data frames in a SDH/SONET network according to the present invention;

[0071]FIG. 7 (F) shows the flowchart of the data processing and dispatching device processing the entered data in a preferred embodiment of the system accessing and transmitting Ethernet data frames in a SDH/SONET network according to the present invention;

DETAILED DESCRIPTION OF THE EMBODIMENTS

[0072] To make the system and method of the present invention be better understood, the basic function of the device is describe first. Usually, any device has the following 3 functions:

[0073] (1) Input function, i.e., receive external information;

[0074] (2) Processing function, i.e., process said external information;

[0075] (3) Output function, i.e., output the processed information.

[0076] For a device accessing and transmitting Ethernet data frames in a SDH/SONET network:

[0077] (1) Input function: receive external information via the subscriber network interfaces and the inter-network interfaces;

[0078] (2) Output function: output the processed information via the subscriber network interface and the inter-network interface;

[0079] (3) Processing function: for a device accessing and transmitting Ethernet data frames in a SDH/SONET network, different processing ability as well as service ability and service efficiency depend on different technical schemes.

[0080] In addition, the phrase “standard Ethernet interface” used in the present invention means the following:

[0081] IEEE802.3 defines the LAN interface in detail; Such an interface is regarded as a standard Ethernet interface in the present invention.

[0082] The present invention will be described hereunder with reference to the drawings. For concision, components and units described in prior art will not be described in detail hereunder. And components and units described above will not be described in detail hereunder.

[0083]FIG. 4 shows a system that accesses and transmits different data frames in a digital transmission network. The system comprises a plurality of subscriber network interfaces designed to couple with the subscribers' networks, a plurality of inter-network interfaces designed to couple with said digital transmission network to transmit data, a plurality of mapping/demapping devices 10, a virtual interface device 80 coupled with said subscriber network interfaces and also coupled with said inter-network interfaces via said mapping/demapping devices 10, a data processing and dispatching device 90 coupled with said virtual interface device 80, a plurality of virtual private devices 120 and a virtual bridge device 100 and a PRP device 110 coupled with said data processing and dispatching device. Wherein said mapping/demapping devices 10, said virtual interface device 80, and said data processing and dispatching device 90 constitute the data converting device of the present invention. The input to said system comprises: (1) data frames entering the system via the subscriber network interfaces; (2) data frames entering the system via the inter-network interfaces. The data frames output from said system comprises: (1) data frames from the subscriber network interfaces; (2) data frames from the inter-network interfaces.

[0084]FIG. 5 shows the schematic block diagram of virtual private device in a preferred embodiment of the system accessing and transmitting Ethernet data frames in a SDH/SONET network according to the present invention. The system accessing and transmitting Ethernet data frames in a SDH/SONET network comprises a plurality of subscriber network interfaces designed to couple with the subscribers' networks, a plurality of inter-network interfaces designed to couple with said digital transmission network to transmit data, a plurality of mapping/demapping devices 10, a virtual interface device 80 coupled with said subscriber network interfaces and also coupled with said inter-network interfaces via said mapping/demapping devices 10, a data processing and dispatching device 90 coupled with said virtual interface device 80, a plurality of virtual private devices 120 and a virtual bridge device 100 and a PRP device 110 coupled with said data processing and dispatching device. In the virtual private device, a virtual private processing unit 8001 is coupled to the inter-device interface to process the data from the inter-device interface. The virtual private processing unit 8001 is also coupled to the rule database and the control interface unit. The control interface unit exchanges data with outside world via the control interface.

[0085] The present invention enhances converging ability of the system through utilizing the virtual private device. The virtual private device stores converging rules, deconverging rules, and relay rules (the relay rules are optional and unnecessary in some simple virtual private devices). The mapping relationship between data types and the rules is 1:1. The rules in the virtual private device can be set up and deleted dynamically. Data frames of different subscribers can be isolated, transmitted and shared by adding a label before sending, changing the label during transmission and removing the label at destination address. A virtual private device comprises a virtual private processing unit and a rule database in it.

[0086] The virtual private processing unit has two major functions:

[0087] (a) Detecting control messages and transferring the control messages to the control system of the device via the control interface unit.

[0088] (b) Performing convergence, deconvergence, or relay operation for data frames except for the control messages.

[0089] The virtual private processing unit is the processing center of the device; the following items are stored in the virtual private processing unit as firmware:

[0090] (a) Format of control messages;

[0091] (b) Processing steps and logic for data frames;

[0092] (c) Format of rules in the rule database;

[0093] As the control center, the rule database controls the processing action of the virtual private processing unit. The rules in the rule database may be updated dynamically. The rule database may store a plurality of rules, each of which comprises the following information: input data frame type number, rule type (convergence/deconvergence/relay), label number, and output data frame type number.

[0094] Wherein said virtual private device is connected to the said data processing and dispatching device via the inter-device interface; said virtual private device is connected to the control system of the device via the control interface.

[0095] There are different technical schemes to implement the virtual private device. However, the data frames processing steps and logic in the virtual private processing unit is identical under these schemes. The main differences between these schemes are:

[0096] (a) Format of rules in the rule database, for example, length and position of label in the rule are different;

[0097] (b) Format of control messages processed in the virtual private processing unit.

[0098] In view of expandability and compatibility, it is recommended to implement the virtual private device with MPLS, GFP, VMAN, or Nested VLAN technique. The device manufacturers may also employ self-defined label formats (or self-defined data frame packets) to implement said virtual private device. The system may support a plurality of virtual private devices implemented with different technical schemes.

[0099]FIG. 5 (F) shows the flowchart of the virtual private processing; for data frames entering the device via the inter-device interface, the processing steps of the virtual private processing unit are as follows:

[0100] Step 1: determining whether the data frames are control messages; if yes, going to step 3;

[0101] Step 2: transferring the data frames to an external control system via the control interface unit, and then going to step 12;

[0102] Step 3: extracting the input data type number information from the head position of the data frames;

[0103] Step 4: searching in the rule database with the index of the input data type number information;

[0104] Step 5: determining the searching result; if it is blank, discarding said data frames and going to step 12;

[0105] Step 6: determining the rule type; if it is a convergence rule, going to step 7; if it is a deconvergence rule, going to step 8; if it is a relay rule, going to step 9;

[0106] Step 7: modifying the data frames, i.e., inserting a label number defined in the rule at a special position in the data frames, and then going to step 10;

[0107] Step 8: modifying the data frame, i.e., removing the label number at the special position in the data frames, and then going to step 10;

[0108] Step 9: modifying the data frames, i.e., replacing the label number at the special position in the data frames with a label number defined in the rule;

[0109] Step 10: modifying the data frames, i.e., replacing the data type number at the head position of the data frames with the output data type number defined in the rule;

[0110] Step 11: transferring the data frames to the data frame processing and dispatching device via the inter-device interface;

[0111] Step 12: ending.

[0112]FIG. 4 (F1) shows the processing steps for data frames entering the system via the subscriber network interfaces.

[0113] First, in step 1, the virtual interface device performs matching action to the data frames according to classifying rules;

[0114] In step 2, the virtual interface device modifies the data frames according to classifying rules, i.e., inserts data type number in the data frames;

[0115] In step 3, the virtual interface device transfers the modified data frames to the data processing and dispatching device;

[0116] In step 4, the data processing and dispatching devise finds corresponding processing device according to the data type number in the data frames;

[0117] In step 5, the data processing and dispatching device transfers the data frames to the corresponding processing device; if it is the virtual private device to process the data frames, the data frames are transferred to the virtual private device; if it is the virtual interface device to process the data frames, goes to step 8;

[0118] In step 6, said corresponding processing device processes the data frames, and modifies the data type number at the end of the processing, and then transfers the modified data frames to the data processing and dispatching device;

[0119] In step 7, goes to step 4;

[0120] In step 8, the virtual interface device finds corresponding device interface according to the data type number in the data frames;

[0121] In step 9, the virtual interface device modifies the data frames, i.e., deletes the data type number from the data frames;

[0122] In step 10, the virtual interface device outputs the modified data frames via the device interface (if the device interface is an inter-network interface, mapping operation should be performed through the mapping/demapping device before output).

[0123] The processing steps for data frames entering the device via the inter-network interface are as follows:

[0124] In step 1, the mapping/demapping device performs demapping operation to the data frames;

[0125] In step 2, the remaining processing steps are identical to those for data frames entering the system via the subscriber network interfaces.

[0126] When implementing functions of the system, the device manufacturers may partially or completely employ above method. For devices with simple functions, the processing is relatively simple. The device manufacturers may even treat the processing as firmware through fixing connections among the devices to omit the data processing and dispatching device.

[0127]FIG. 4A shows the schematic block diagram of virtual interface device in a preferred embodiment of the system accessing and transmitting Ethernet data frames in a SDH/SONET network according to the present invention. A virtual interface device 80 is used to enhance access ability. Via the virtual interface device 80, a device interface (subscriber network interface 20 or inter-network interface 30) may be expanded to a plurality of virtual interfaces, each of which supports specific subscribers and services. For data frames entering the system via the device interfaces (subscriber network interface 20 and inter-network interface 30), the virtual interface processing unit 800 of the virtual interface device will classify them according to different services required by the subscribers and choose corresponding processing for them. Different processing corresponds to different rules in the rule database 850. The control interface unit controls the virtual interface processing unit 800 to classify the data frames according to the orders from the control interface and searches for corresponding rules stored in the rule database 850 to process the data. Data frames output from the device are transferred to corresponding device interface after classified in the virtual interface device. Because the virtual interface device stores N rules, the mapping relationship between the device interface and those rules is 1:N. The rules in the virtual interface device may be set up or deleted dynamically. Therefore, it is easy to modify the rules to enhance the adaptability of the system according to the subscribers' requirements and the updating of the system. The device also comprises a software loader (not shown) to load different software.

[0128] As the processing center, the virtual interface processing unit 800 is responsible for processing data frames; the processing steps and processing logic in the virtual interface processing unit are firmware and can't be modified during operation of the system. The rule database is the control center and is responsible for providing relevant processing and control parameters when the virtual interface processing unit processes the data frames. Different parameters lead to corresponding processing behaviors. During operation of the system, the rules in the rule database may be updated. The control interface unit provides an external control interface. Via the control interface, the control system of the device may monitor the virtual interface processing unit and performs adding, deleting, editing, and querying operations to rules in the rule database. The rule database may store a plurality of rules, each of which contains five parts: device interface number, data frame type number, data frame address offset, data frame type value, and data frame comparison mask.

[0129] Wherein the virtual interface device is connected to the subscriber network interfaces or the inter-network interfaces via the device interfaces. The mapping relationship between the subscriber network interfaces (or inter-network interfaces) and the device interfaces is 1:1. The virtual interface device is connected to the data processing and dispatching device via the inter-device interface. The virtual interface device is connected to the control system of the device via the control interface.

[0130]FIG. 4A (F1) shows the steps of the virtual interface processing unit processing data frames entering the virtual interface device via the device interface:

[0131] Step 1: searching for the first rule in the rule database corresponding to the device interface with the index of the device interface number;

[0132] Step 2: determining the searching result; if it is blank, discarding said data frames and going to step 10;

[0133] Step 3: reading information at address offset of the data frame according to the data frame address offset in the rule;

[0134] Step 4: performing “AND” operation between said read information and data frame comparison mask in the rule;

[0135] Step 5: comparing the result of step 4 with the data frame type value in the rule; if they are equal, going to step 8;

[0136] Step 6: searching for the next rule corresponding to said device interface in the rule database;

[0137] Step 7: going to step 2;

[0138] Step 8: modifying the data frame, i.e., inserting data type number information in the rule in the head position of the data frames;

[0139] Step 9: transferring the data frames to the data frame processing and dispatching device via the inter-device interface;

[0140] Step 10: ending.

[0141]FIG. 4A (F2) shows the steps of the virtual interface processing unit processing data frames entering the virtual interface device via the inter-device interface. The processing steps are as follows:

[0142] Step 1: extracting the data frame type information from head position of the data frames;

[0143] Step 2: searching in the rule database with the index of data frame type number;

[0144] Step 3: determining the searching result; if it is blank, discarding said data frames and going to step 6;

[0145] Step 4: modifying the data frames, i.e., deleting the data frame type number information from head position of the data frames;

[0146] Step 5: sending the data frames to corresponding device interface according to the device interface number in the rule;

[0147] Step 6: ending.

[0148]FIG. 7 shows the schematic block diagram of data processing and dispatching device in a preferred embodiment of the system accessing and transmitting Ethernet data frames in a SDH/SONET network according to the present invention. The data processing device is coupled with a plurality of inter-device interfaces to process the data from the inter-device interfaces. The data processing device is also coupled with the processing steps database and the control interface unit. The control interface unit exchanges data with outside world via the control interface.

[0149] The present invention utilizes the data processing and dispatching device to implement individualized services to improve equipment serviceability. The data processing device stores a plurality of processing flows. The mapping relationship between the processing flows and the data frame types is 1.1. The data processing and dispatching device finds corresponding processing flow according to data frame type, and informs other devices to process the data frames according to the processing flow. The processing flows in the data frame processing device may be set up, edited, or deleted dynamically. During operation of the system, the operator may quickly provide individualized services to maximize the efficacy of the system through adding, editing, and deleting the processing flows in the data processing device.

[0150] The data processing and dispatching device is the processing center of the system, and the processing flows are embedded in it as firmware. There are a plurality of inter-device interfaces in the data processing and dispatching device, each of which maps to a unique external device. The mapping relationship between the inter-device interfaces and the external devices are fixed.

[0151] The processing flow database is the control center of the system, and the items in the database may be updated dynamically. Each processing flow in the processing flow database contains the following information:

[0152] (a) Data frame type number;

[0153] (b) Inter-device interface number

[0154] The data processing and dispatching device is connected to other devices via the inter-device interfaces, each of the inter-device interfaces maps to a virtual bridge device, a virtual private device, a RPR device, or a virtual interface device. The data processing and dispatching device is connected to the control system of the device via the control interface.

[0155]FIG. 6 shows the schematic block diagram of a virtual bridge device in a preferred embodiment of the system accessing and transmitting Ethernet data frames in a SDH/SONET network according to the present invention. The present invention overcomes the issue of limited Ethernet data frame address space through a virtual bridge device. A virtual bridge device may provide a plurality of virtual bridges. Each virtual, bridge possesses all features and properties of the bridge device. However, it is different to the bridge device that the virtual bridge may be set up and deleted dynamically. During operation of the system, the operator may set up or delete a plurality of virtual bridges dynamically because each virtual bridge has an independent address space, the operator may provide VLAN services to subscribers with different virtual bridges if that conflicts exists among address spaces.

[0156] The operator may configure a virtual bridge just like a physical bridge. The virtual bridge further expands the features of physical bridge to support VMAN-based switching operation. A virtual bridge device comprises a virtual bridge processing unit 802, a multicasting database 856, a control interface unit, a forwarding database 852, and a virtual bridge database 854. The virtual bridge processing unit has 3 major functions:

[0157] (a) Detecting control messages and transferring the control messages to the control system of the device via the control interface unit.

[0158] (b) Learning addresses, and storing the knowledge acquired into the forwarding database;

[0159] (c) Performing switching for data frames except for control messages and modifying data type information in the data frames.

[0160] The virtual bridge processing unit is the processing center of the device, and there are five items embedded in it:

[0161] (a) Format of control messages;

[0162] (b) Processing steps and logic for data frames;

[0163] (c) Format of forwarding items in the forwarding database;

[0164] (d) Format of multicasting items in the multicasting database;

[0165] (e) Format of items in the virtual bridge database

[0166] The virtual bridge database, multicasting database, and forwarding database control the processing behaviors of the virtual bridge processing unit, and the items in them may be updated during operation of the system. The data formats of items in the multicasting database items and forwarding database are identical, and each item contains the following information:

[0167] (a) virtual bridge number;

[0168] (b) Input port of virtual bridge;

[0169] (c) Destination address input;

[0170] (d) VLAN serial number input;

[0171] (e) VMAN serial number input;

[0172] (f) Output port of virtual bridge;

[0173] In the multicasting database, the database code is the combination of all fields; in the forwarding database, the database code is the combination of all fields except for output port of virtual bridge.

[0174] Each item in the virtual bridge database contains the following information:

[0175] (a) Type number input;

[0176] (b) virtual bridge number;

[0177] (c) Port number;

[0178] (d) Type number output;

[0179] Via the control interface, an external control system may implement the following functions:

[0180] (a) Performing adding, deleting, editing, and querying operations to items in the database;

[0181] (b) Monitoring the working state of the virtual bridge processing unit.

[0182] The virtual bridge device is connected to the data processing and dispatching device via the inter-device interface. The virtual bridge device is connected to the control system of the device via the control interface.

[0183]FIG. 6 (F1) shows the flowchart of the virtual bridge device processing the data entering the inter-device interface in a preferred embodiment of the system accessing and transmitting Ethernet data frames in a SDH/SONET network according to the present invention. For data frames entering the device via the inter-device interface, the virtual bridge processing unit performs the following processing steps:

[0184] Step 1: determining whether the data frames are control messages; if yes, going to step 3;

[0185] Step 2: transferring the data frames to an external control system via the control interface unit, and then going to step 17;

[0186] Step 3: extracting input data type number, destination address, source address, VLAN number, and VMAN number (optional) from a fixed position in the data frames;

[0187] Step 4: searching in the virtual bridge database with the index of the data type number extracted;

[0188] Step 5: determining the searching result; if it is blank, discarding said data frames and going to step 17;

[0189] Step 6: obtaining the virtual bridge number and port number information from the searching result;

[0190] Step 7: learning the source address, and then updating the forwarding database according to the learning result;

[0191] Step 8: determining whether the destination address is a multicasting address; if yes, executing a multicasting sub-flow, and then going to step 17;

[0192] Step 9: determining whether the destination address is a broadcast address, if yes, executes a broadcasting sub-flow, and then going to step 17;

[0193] Step 10: searching in the forwarding database with the index of virtual bridge number, input port, and destination address, VLAN number, and VMAN number (optional);

[0194] Step 11: determining the searching result; if it is blank, executing a broadcasting sub-flow, and then going to step 17;

[0195] Step 12: extracting output port number from the searching result;

[0196] Step 13: searching in the virtual bridge database with the index of the virtual bridge number and the output port number;

[0197] Step 14: determining the searching result; if it is blank, discarding said data frames and going to step 17;

[0198] Step 15: extracting output type number from the searching result and modifying the data frame, i.e., replacing the type number in the data frames with the output data type number;

[0199] Step 16: outputing the modified data frames via the inter-device interface;

[0200] Step 17: ending.

[0201]FIG. 7 (F) shows the flowchart of the data processing and dispatching device processing the data entering the device in a preferred embodiment of the system accessing and transmitting Ethernet data frames in a SDH/SONET network according to the present invention. The processing steps are as follows:

[0202] Step 1: extracting the type number from the data frames;

[0203] Step 2: searching in the processing flow database with the index of the extracted type number;

[0204] Step 3: determining the searching result; if it is blank, discarding said data frames and going to step 6;

[0205] Step 4: extracting inter-device interface number from the searching result;

[0206] Step 5: outputting the data frames via the inter-device interface corresponding to the inter-device interface number;

[0207] Step 6: ending.

[0208] Application of the system:

[0209] The operator may utilize the system shown in FIG. 4 to provide subscribers Ethernet services, which correspond to combinations of processing flows. The operator may define and choose required processing flow combinations flexibly according to network topology, the subscribers' service demands and bandwidth resource. Processing flow combinations common used are as follows:

[0210] Processing flow combination 1:

[0211] (1) The virtual interface device classifies the data frames;

[0212] (2) The virtual interface device outputs the data frames to corresponding device interfaces.

[0213] Processing flow combination 2:

[0214] (1) The virtual interface device classifies the data frames;

[0215] (2) The virtual bridge Device switches the data frames;

[0216] (3) The virtual interface device outputs the data frames to corresponding device interfaces.

[0217] Processing flow combination 3:

[0218] (1) The virtual interface device classifies the data frames;

[0219] (2) The virtual private device processes the data frames (relay, converge, or deconverge);

[0220] (3) The virtual interface device outputs the data frames to corresponding device interfaces.

[0221] Processing flow combination 4:

[0222] (1) The virtual interface device classifies the data frames;

[0223] (2) The RPR device processes the data frames (terminates, relays, or starts data frame transmission);

[0224] (3) The virtual interface device outputs the data frames to corresponding device interfaces.

[0225] When implementing functions of the system, the device manufacturers may partially or completely employ above method. For devices with simple functions, partial components can be omitted and the processing is relatively simple. The device manufacturers may even treat the processing as firmware through fixing connections among the devices to omit the data processing and dispatching device. For instance, for a device that only provides Ethernet private service, it may only comprises the following devices:

[0226] (1) One or more subscriber network interfaces;

[0227] (2) One or more inter-network interfaces and mapping/demapping devices;

[0228] (3) A virtual interface device;

[0229] (4) A virtual private device.

[0230] Said device supports the following processing flow combinations:

[0231] (1) Processing flow combination 1;

[0232] (2) Processing flow combination 3.

[0233] With the system and method of the present invention, integral VLAN services can be provided for subscribers. The system and method in the present invention overcome the restriction on Ethernet data frame address space at subscriber network interfaces. When a plurality of Ethernet data frames is sent to such a network device, there is no restriction on address space of Ethernet data frames.

[0234] With the system and method of the present invention, a device interface (subscriber network interface or inter-network interface) supports both VLAN service and Ethernet private service, and a plurality of Ethernet data frames from many subscribers can be accessed and converged at a single device interface, thus the accessing and converging capability of the device is enhanced greatly.

[0235] With the system and method of the present invention, the operator may maximize processing capacity of its equipments and utilization ratio of bandwidth resource through flexible adjustment to internal processing flows according to network topology, the subscribers' service demands, and bandwidth resource.

[0236] With the system and method of the present invention, individualized services can be quickly provided for subscribers. The operator may provide new services to subscribers through creating new flow combinations, without upgrading or adding new equipment.

[0237] According to the present invention, data frames entering the device via device interfaces are processed after classified; different data types correspond to different processing flows, which are implemented by virtual interface devices.

[0238] Existing technical schemes and devices have to be implemented on a presumption: data frames from a device interface belong to the same type, and different types of data frames enter the device via different device interfaces. Therefore, in the prior technical scheme and system, data frames entering the device via the same device interface are processed through the same processing flow, thus the mapping relationship between processing flows and device interfaces is 1:n. As a result, if there are many data types sometimes, though the processing capacity of the device is still sufficient enough, some services can't be supported due to lack of free device interfaces.

[0239] Whereas with the system and method of the present invention, data frames from a device interface may contain various types, and processing flows for different types of data frames are different; the mapping relationship between processing flows and device interfaces is m:n.

[0240] In addition, the present invention supports free combination of processing flows; the combination of data processing and dispatching device and its processing flows is an important part of the present invention.

[0241] Existing technical schemes and devices have no data processing and dispatching device and only support several fixed processing flows. As the result, they are lack of flexibility and resiliency. However, the requirements of operators for equipment are changing actually.

[0242] A system lacking of flexibility and resiliency is unable to adapt to changing environment. With the present invention, the operator can update the processing flows dynamically, and subscribers can choose appropriate flow combinations or create new flow combinations as required. There are 22 or more processing flow combinations available.

[0243] In existing technical schemes and devices, the amount of bridge devices is certain; so conflicts among data frame address spaces of different subscribers can be avoided only through restricting the data frame address spaces of subscribers. Whereas the virtual bridge devices in the present invention support dynamical expansion (i.e., add new virtual bridges), and the address space of each virtual bridge is independent; different virtual bridges correspond to different subscribers; hence the present invention has no restriction to data frame address spaces of subscribers.

[0244] In addition, Data frames of different subscribers can be isolated, transmitted and shared by adding a label before sending, changing the label during transmission and removing the label at destination address, thus the virtual private device of the present invention is achieved.

[0245] Though the present invention is described with reference to above embodiments, it is understood that any skilled in this field can easily make any change and modification without escaping the spirit of the present invention. So any change and modification should be in the scope of the present invention. 

1. A system accessing and transmitting different data frames in a digital transmission network for accessing and transmitting different data frames, comprising: at least a subscriber network interface, which is used to couple with the subscriber's network; and/or at least an inter-network interface, which is used to couple with said digital transmission network to transfer data; and a data converting device, which is coupled with said subscriber network interfaces and said inter-network interfaces to convert data formats between said subscriber network interfaces, data formats between said inter-network interfaces, or data formats between said inter-network interfaces and said subscriber network interfaces; Wherein said data converting device comprises a virtual private device, an interface device and a processing device, said virtual private device exchanges data between said subscriber network interfaces and said inter-network interfaces via said interface device, and said virtual private device comprises an inter-device interface, which couples with said processing device and is used to input and output data frames; a virtual private processing unit, which couples with said inter-device interface and is used to converge or deconverge the data frames and detect control messages; a rule database, which couples with said virtual private processing unit, said rule database stores rules corresponding to various data, couples with said virtual interface processing unit to process the data according to said rules; a control interface unit, which couples with said rule database and said virtual private processing unit and is used to control said virtual private processing unit and said rule database.
 2. A virtual private device in a digital transmission network according to claim 1, wherein said rule database stores convergence rule and deconvergence rule.
 3. A virtual private device in a digital transmission network according to claim 2, wherein said rule database stores relay rules.
 4. A virtual private device in a digital transmission network according to any of claim 1 to 3, wherein one data type corresponds to one rule, rule database comprises the following rules: input data frame type number, rule type (one of convergence, deconvergence and relay rules), label number and output data frame type number.
 5. A virtual private device in a digital transmission network according to claim 1, wherein formats of the control messages and the logic processing said data frames are stored in said virtual private processing unit; and formats of rules are stored in said rule database.
 6. A virtual private device in a digital transmission network according to claim 1, wherein said control interface unit provides an external control interface, through which to inspect the operation of the virtual processing unit, and add, delete, modify, and search operation can be performed to rules in said rule databases.
 7. A method of accessing and transmitting data frames in a digital transmission network for a virtual private device according to claim 1, wherein said interface device is a virtual interface device, said processing device is a data processing and dispatching device, said inter-device interface connects with said data processing and dispatching device or said virtual interface device.
 8. A method of accessing and transmitting different data frames in a digital transmission network through said virtual private device, comprising the following steps: Data frames entering said virtual private device via an inter-device interface; determining whether the data frames are control messages; If yes, sending the data frames to external control system via the control interface unit and end the process; If not, extracting input data type number information and search in the rule database according to said input data type number; Determining whether type number information is found; If not, discarding said data frames and end the process; If yes, processing the data according to the rule type; Modifying the data frames, and sending them through the inter-device interface and ending the process.
 9. A method according to claim 8, wherein the step of processing the data according to the rule type comprises the following steps: Determine the rule type, If it is convergence rule, insert the label number defined in the rule in the special position of the data frames; If it is deconvergence rule, remove the label number in the special position of the data frames; If it is relay rule, change the label number in the special position of the data frames into a label number defined in the rule.
 10. A method according to claim 9, where in the step of modifying the data frames comprises the step of replacing the data frame type number in the head position of the data frames with the output data frame type number defined in the rule. 